package cn.xiaopengstack.domain.rebate.service;

import cn.xiaopengstack.domain.rebate.model.entity.BehaviorEntity;
import cn.xiaopengstack.domain.rebate.model.entity.BehaviorRebateOrderEntity;

import java.util.List;

/**
 * @author jiangyangang
 */
public interface IBehaviorRebateService {

    /**
     * 创建行为动作的入账订单
     *
     * @param behaviorEntity 行为实体对象
     * @return 订单ID
     */
    List<String> createOrder(BehaviorEntity behaviorEntity);

    /**
     * 查询是否已经完成签到
     *
     * @param outBusinessNo
     * @param businessNo
     * @return
     */
    List<BehaviorRebateOrderEntity> queryOrderByOutBusinessNo(String outBusinessNo, String businessNo);
}
